<include file="Public/head" xmlns="http://www.w3.org/1999/html"/>
<include file="Public/common_header" />
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/css/cashier.css" />
<div class="mian">
    <include file="Public/sidebar" menu="clcwht.dhjfffdd"  />
    <div class="mianR">
		<form id="searchFrom" method="get" action="/MoneyScore/index">
            <div class="yuSuo clearfix">
                <div id="search1">
                    <input type="text" class="suoDian" id="ord_num" name="order_sn" placeholder="请输入订单号" value="">
                    <input type="text" class="suoDian" id="user_id" name="user_id" placeholder="请输入提问用户ID" value="">
                    <input type="text" class="suoDian" id="nick_name" name="user_mobile" placeholder="请输入用户手机号" value="">
                    <span>&nbsp;&nbsp;&nbsp;</span>
                    <input readonly type="text" class="" id="start_time" name="start_time" placeholder="订单开始时间"/>
                    <em></em>
                    <input readonly type="text" class="" id="end_time" name="end_time" placeholder="订单结束时间"/>
                </div>
                <input type="submit" id="search" value="搜索" class="suoSou">
            </div>
        </form>
		<div class="listBox" id="listBox">
			<div class="yuList">
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th>订单号</th>
                        <th width="8%">订单金额</th>
                        <th width="9%">兑换积分</th>
                        <th>兑换比例</th>
                        <th>用户ID</th>
                        <th width="15%" >用户手机号</th>
                        <th width="15%" >订单时间</th>
                        <th width="10%" >操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="list" id="vo" key="k">
                        <tr>
                            <td>{$vo.order_sn}</td>
                            <td>{$vo.amount}</td>
                            <td>{$vo.score}</td>
                            <td>{$vo.scale}</td>
                            <td>{$vo.user_id}</td>
                            <td>{$vo.user_mobile}</td>
                            <td>{$vo.create_time|date="Y-m-d H:i:s", ###}</td>
                            <td><a target="_blank" href="/MoneyScore/orderDetail/id/{$vo.id}">查看</a></td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <div class="pageFaye"><div class="pager">{$page}</div><div class="clear"></div></div>
			</div>
		</div>

	</div>
</div>
<script>

$("#start_time").ymdateplugin({
	showTimePanel: true,
	changeMonth: true,
	changeYear: true
});

$("#end_time").ymdateplugin({
	showTimePanel: true,
	changeMonth: true,
	changeYear: true
});

function get_page(page){
    var url = window.location.href;
    if(url.match(/\?page=\d+/)){
        url.replace(/\?page=\d+/, '?p='+ page);
    }else if(url.match(/\&page=\d+/)){
        url.replace(/\&page=\d+/, '&p='+ page);
    }else if(url.match(/\?/)){
        url += '&p=' + page;
    }else{
        url += '?p=' + page;
    }

    window.location.href = url;

}




</script>
<include file="Public/foot" />